
main .palace{    
    max-width: 1520px;
    margin: 0px auto;
    
}
main .palace .cate{
    border-bottom: 1px solid rgb(45, 47, 52);
}
main .palace .cate .item{
    padding: 12px 0px;
    margin-right: 24px;
    color: rgb(169, 169, 172);
    font-size: 16px;
    position: relative;
    cursor: pointer;
}
main .palace .cate .item.active,
main .palace .cate .item:hover{
    color: #fff;
}
main .palace .cate .item.active::after{
    content: '';
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background: #03b74d;
}

main .palace .filters{
    margin-top: 24px;
}
main .palace .filters .row + .row{
    margin-top: 8px;
}
main .palace .filters .row>.name{
    width: 32px;
    opacity: 0.4;
    font-size: 16px;
    color: rgb(255, 255, 255);
    text-align: right;
    max-width: 140px;
    margin-right: 24px;
    flex-shrink: 0;
    line-height: 36px;
}
main .palace .filters .row .list{
    flex:1;
}
main .palace .filters .row .list .item{
    padding: 10px 12px;
    font-size: 14px;
    color: rgb(169, 169, 172);
    line-height: 16px;
    background: rgb(35, 37, 43);
    border-radius: 4px;
    margin-right: 16px;
    margin-bottom: 12px;
    cursor: pointer;
}
main .palace .filters .row .list .item:hover{
    color: #Fff;
}
main .palace .filters .row .list .item.active{
    color: #03b74d;
}

main .palace .vids{
    margin-left: -20px;
    margin-top: 28px;
}
main .palace .vids .item{
    width: calc(50% / 3 - 20px);
    margin-left: 20px;
    margin-bottom: 50px;
    transition: 0.3s transform;
}
main .palace .vids .item:hover{
    transform: scale(1.05);
    
}
main .palace .vids .item>.cover img{
    border-radius:4px;
}
main .palace .vids .item>.cover .fill{
    z-index: 3;
}
main .palace .vids .item>.cover::before{
    padding-bottom: 133.3%;
}
main .palace .vids .item:hover>.cover::after{
    content: '';
    width: 100%;
    bottom: 0;
    left: 0;
    position: absolute;
    height: 84px;
    background-image: linear-gradient(-180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.55) 80%);
    
}
main .palace .vids .item>.cover .series{
    border-radius: 0px 0px 4px 4px;
    background-image: linear-gradient(0deg, rgba(10, 12, 15, 0.8) 0%, rgba(10, 12, 15, 0.74) 4%, rgba(10, 12, 15, 0.59) 17%, rgba(10, 12, 15, 0.4) 34%, rgba(10, 12, 15, 0.21) 55%, rgba(10, 12, 15, 0.06) 78%, rgba(10, 12, 15, 0) 100%);
    height: 56px;
    position: absolute;
    left: 0px;
    right: 0px;
    bottom: 0px;
    z-index: 3;
}
main .palace .vids .item>.cover .series .t{
    font-size: 14px;
    position: absolute;
    left: 8px;
    right: 10px;
    bottom: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #fff;
}
main .palace .vids .item .cover .right-top{
    position: absolute;
    top:0;
    color:#000;
    right: 0;
    padding: 0px 6px;
    line-height: 20px;
    font-size: 12px;
    background: #03b74d;
    text-align: center;
    border-radius: 2px 4px;
}
main .palace .vids .item .cover .right-top span{
    font-weight: bold;
}
main .palace .vids .item .cover .btn{
    width: 40px;
    position: absolute;
    z-index: 5;
    background: #03b74d;
    display: none;
}
main .palace .vids .item:hover .cover .btn{
    display: block;
}
main .palace .vids .item .cover .btn img{
    width: 33.3%;
}
main .palace .vids .item .cover .play img{
    margin-left: 2px;
}
main .palace .vids .item .cover .collect{
    bottom: 8px;
    right: 8px;
    background: rgba(255,255,255,.75);
}
main .palace .vids .item .cover .btn.collect:hover{
    background: rgba(255,255,255,.95);
}
main .palace .vids .item .cover .collect img{
    width: 40%;
}
main .palace .vids .item .cover .collect .pop{
    display: none;
    top: 100%;    
    background:rgb(35,37,43);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;        
    right: 0px;
    padding: 9px 16px;
    color: #Fff;
    white-space: nowrap;
    position: absolute;
    margin-top: 12px;
}
main .palace .vids .item .cover .collect .pop::before{
    content: '';
    left: auto;
    position: absolute;
    top: 0;
    right: 20px;
    transform: translate(50%,-50%) rotate(45deg);
    background-color:rgb(26,28,34);
    border-top: 1px solid rgba(255,255,255,.25);
    border-left: 1px solid rgba(255,255,255,.25);
    height:12px;
    z-index: 2;
    width:12px;
}

main .palace .vids .item>.txt{
    height: 40px;
    padding-top: 10px;
    font-size: 14px;
    border-bottom-left-radius:4px;
    border-bottom-right-radius:4px;
    overflow: hidden;
}
main .palace .vids .item>.txt .name{
    color: rgb(255, 255, 255);
    opacity: 0.8;
    font-weight: 500;
    font-size: 14px;
    
}
main .palace .vids .item:hover>.txt .name{
    color: #03b74d;
}





@media (max-width: 1680px) {
    main{
        padding: 0 60px;
    }

    main .palace .filters .row .list .item{
        margin-right: 8px;
        margin-bottom: 8px;
    }

    main .palace .vids{
        margin-left: -14px;
    }
    main .palace .vids .item{
        width: calc(50% / 3 - 14px);
        margin-left: 14px;
        margin-bottom: 40px;
    }
    main .palace .vids .item>.cover .series{
        height: 48px;
    }
    main .palace .vids .item>.cover .series .t{
        font-size: 12px;
    }
    main .palace .vids .item .cover .btn{
        width: 32px;
    }
    main .palace .vids .item .cover .collect .pop::before{
        right: calc(32px / 2);
    }
    main .palace .vids .item .cover .collect .pop{
        padding: 6px 12px;
        font-size: 14px;
    }
}


@media (max-width: 1024px) {
    main{
        padding: 0 50px;
    }

    main .palace .filters,
    main .palace .filters .row + .row {
        margin-top: 16px;
    }
    main .palace .filters .row>.name{
        display: none;
    }

    main .palace .vids .item{
        width: calc(25% - 14px);
    }
}

@media (max-width: 767px) {
    

    main .palace .vids .item .cover .right-top{
        line-height: 14px;
        font-size: 12px;
        padding: 0px 4px;
        border-radius: 1px 2px;
    }
    main .palace .vids .item>.cover .series .t{
        bottom: 6px;
        left: 6px;
    }
}